set -x
set -e
#!/bin/bash
cd ~/openharmony
rm -rf *
cd ~/openharmony/.repo/manifests
git checkout "$1"
cd ~/openharmony
repo sync --force-sync
repo forall -c 'git lfs pull'
build/prebuilts_download.sh
set +x